# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class OneClickAlarmOption(object):

    def __init__(self, contacts=None, dimension=None, dimensionName=None, enabled=None, policyId=None, product=None, productName=None, ruleOption=None):
        """
        :param contacts: (Optional) 通知的联系人
in: body
        :param dimension: (Optional) 资源维度(vm-gpu、mongos-shard)
        :param dimensionName: (Optional) 资源维度名称
        :param enabled: (Optional) 是否启用, 1表示启用规则，0表示禁用规则
        :param policyId: (Optional) 一键报警规则下的报警规则id
        :param product: (Optional) 资源类型(vm、database、db_ro……)
        :param productName: (Optional) 资源类型名称
        :param ruleOption: (Optional) 
        """

        self.contacts = contacts
        self.dimension = dimension
        self.dimensionName = dimensionName
        self.enabled = enabled
        self.policyId = policyId
        self.product = product
        self.productName = productName
        self.ruleOption = ruleOption
